<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'test.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="/sbm/css/screen.css" rel="stylesheet" type="text/css">
</head>

<body>
	<s:form method="post" enctype="multipart/form-data" name="myform" action="choose">
		<table width="600px" align=center class="class1">
			<tr>
				<td width="10%">&nbsp;</td>
				<td width="40%" valign="top">
					<table>
						<tr>
							<td colspan="3">以下是您可选择的项目，√选择添加</td>
						</tr>
						<tr>
							<td width="20%">&nbsp;</td>
							<td>&nbsp;</td>
							<td>项目名称</td>
						</tr>
						<s:iterator value="tasklist" id="task">
							<tr>
								<td align="center"><input type="checkbox"
									name="tasks.taskid" value="<s:property value="#task.taskid" />">
								</td>
								<td width="5%">&nbsp;</td>
								<td><s:property value="#task.name" /></td>
							</tr>
						</s:iterator>
						<s:iterator value="tasklist2" id="task">
							<tr>
								<td align="center"><input type="checkbox"
									name="tasks.taskid" value="<s:property value="#task.taskid" />"
									checked="checked">
								</td>
								<td width="5%">&nbsp;</td>
								<td><s:property value="#task.name" /></td>
							</tr>
						</s:iterator>
						<tr>
							<td>&nbsp;</td>
							<td align="right" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;<input
								name="Submit" type="submit" value="确 认"
								onClick="return choose();" /></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" colspan="2" class="top_hui_text" align="center"
					colspan="2"><span class="errorAndmes"><s:actionerror
							cssStyle="font-family: Arial,Helvetica,sans-serif" /> </span></td>
			</tr>
		</table>
	</s:form>
</body>
</html>
